import { utils } from 'hi-ui';
import store from '@/store'
//临时单号
export function createTempOrderNo() {
    //return "NEW-" + utils.date.format(new Date(), "yyyyMMdd") + "-9999";
    return "NEW-YYMMDD-9999";
}
//当前用户
export function currentUserID() {
    return store.getters.name;
}
//当前用户姓名
export function currentUserName() {
    return store.getters.userInfo.name;
}
//当前用户信息
export function currentUserInfo() {
    return store.getters.userInfo;
}